package com.example.sale.Service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.sale.True.Birthday;
import com.example.sale.True.UserDetail;

import java.util.List;
import java.util.Map;

public interface IUserDetailService extends IService<UserDetail> {
    IPage<UserDetail> searchUsers(Page<UserDetail> page, Map<String, Object> params);
    boolean isUsernameExists(Integer id);
    UserDetail getByTokenId(Integer id);
    String getByPhotoId(Integer id);
    String  getByNameId(Integer id);
    boolean isUserDetailExists(Integer id);
    String  GetAgeNumberLess(Integer age);
    String  GetAgeNumberMore(Integer age);
    String findGenderNumber(String gender);
    List<Birthday> findBirthdayNumber(String month);
    String getQQNumber(String username);
    String getPassword(String username);
}
